// DrawLineCtrler.h: interface for the CDrawLineCtrler class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DRAWLINECTRLER_H__D5DDD217_89C2_4793_9EC1_FF66D570E0DD__INCLUDED_)
#define AFX_DRAWLINECTRLER_H__D5DDD217_89C2_4793_9EC1_FF66D570E0DD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "DrawObjectCtrler.h"

// used to draw line (control class)
class CDrawLineCtrler : public CDrawObjectCtrler  
{
public:
	CDrawLineCtrler(COLORREF color = UD_RED, int width = 1, long style = PS_SOLID);

	void DrawObject(CDC* pDC);
	void StartPoint(long x, long y);
	void MoveAt(CDC* pDC, long x, long y);
private:
	long m_lStartx, m_lStarty;		// start point
	long m_lEndx, m_lEndy;			// end point
};

#endif // !defined(AFX_DRAWLINECTRLER_H__D5DDD217_89C2_4793_9EC1_FF66D570E0DD__INCLUDED_)
